package com.itheima.mapper;

import com.itheima.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MenuMapper {

    List<Menu> findByCondition(@Param("queryString") String queryString);

    void add(Map map);

    void edit(Map map);

    Integer findCountByRole(@Param("id")Integer id);

    void deleteById(@Param("id")Integer id);
}
